#ifndef __MGRAPH_H__
#define __MGRAPH_H__

typedef int MGraphElementType;

typedef struct _MGraph {
	MGraphElementType* data;
	int size;
}_MGraph, * MGraph;

MGraph mgraph_create(int size);
MGraph mgraph_free(MGraph g);

MGraph mgraph_add_vertex(MGraph g, int v0, int v1);
MGraphElementType mgraph_at(MGraph g, int row, int col);

void print_mgraph(MGraph g);

#endif //__MGRAPH_H__